package com.zzw.bridge.business.dto;

import com.zzw.bridge.common.page.Pages;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 查询不合格列表DTO
 *
 * @author XiaoJie
 * @date 2025/5/28 9:44
 */
@Schema(name = "查询不合格列表DTO", description = "查询不合格列表DTO	")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NoPassReportDTO extends Pages implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @NotBlank(message = "id不能为空！！！")
    private String id;

    @Schema(description = "不通过类型（1-横桥向不合格；2-纵桥向不合格；3-横纵不合格）")
    @NotNull(message = "类型（0-合格；1-横桥向不合格；2-纵桥向不合格；3-横纵不合格）不能为空！！")
    private Integer noPassType;
}
